EnumSetting

abstract class EnumSetting<E : Enum<E>?> : Setting

Represents a setting with a current value amongst a valid set of choices.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
Retrieves the set of available choices for the setting.
Link copied to clipboard
abstract fun getValue(): E
Retrieves the current setting value.
Link copied to clipboard
abstract fun isUpdating(): Boolean

Tells whether the setting is updating.

Link copied to clipboard
abstract fun setValue(@NonNull value: E)
Sets the current setting value.